package vcp.entity;

import java.util.List;

import vcp.enums.LotStatus;
import vcp.enums.Screen;
import vcp.enums.SiteEnum;

/**
 * <p>
 * CEO class includes getters and setters
 * </p>
 * 
 * @author VCP team
 * 
 */
public class CEOWorker extends Worker
{

	/**
	 * 
	 */
	private static final long serialVersionUID = - 6736211801892235276L;

	/****************************************************************************************************************************
	 *** User methods ***
	 ****************************************************************************************************************************/

	@Override
	public String[] getVisibleTabs ()
	{
		return new String[]
			{ Screen.SITE_MAP.toString(),
					Screen.APPROVE_COSTS.toString(),
					Screen.INFORMATION.toString(),
					Screen.STATISTICS.toString(),
					Screen.LOG_OUT.toString() };
	}

	@Override
	public Screen getInitTabScreen ()
	{
		return Screen.SITE_MAP;
	}

	/****************************************************************************************************************************
	 *** Worker methods ***
	 ****************************************************************************************************************************/
	private List <SiteCostUpdates> siteCostUpdates;

	@Override
	public List <SiteCostUpdates> getSiteCostUpdates ()
	{
		return this.siteCostUpdates;
	}

	@Override
	public void setSiteCostUpdates ( List <SiteCostUpdates> siteCostUpdates )
	{
		this.siteCostUpdates = siteCostUpdates;
	}

	@Override
	public SiteEnum[] getSitesOptions ()
	{
		return SiteEnum.values();
	}

	@Override
	public LotStatus[] getLotEditableStatuses ()
	{
		return new LotStatus[]
			{ LotStatus.FREE };
	}

	@Override
	public boolean getSitesOptionsEnable ()
	{
		return true;
	}

	@Override
	public boolean hasEditingPrivlige ()
	{
		return false;
	}

	@Override
	public boolean canSaveToPdf ()
	{
		return true;
	}
}
